package com.ruoyi.web.wx.entity;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 地址总表 ts_dic_address
 *
 * @author ruoyi
 * @date 2019-06-14
 */
public class DicAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Integer id;
    /** 城市名称 */
    private String cityName;
    /** 行政区级名称 */
    private String areaName;
    /** 街道名称 */
    private String streetName;
    /** 社区名称 */
    private String communityName;
    /** 小区名称 */
    private String villageName;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setStreetName(String streetName)
    {
        this.streetName = streetName;
    }

    public String getStreetName()
    {
        return streetName;
    }
    public void setCommunityName(String communityName)
    {
        this.communityName = communityName;
    }

    public String getCommunityName()
    {
        return communityName;
    }
    public void setVillageName(String villageName)
    {
        this.villageName = villageName;
    }

    public String getVillageName()
    {
        return villageName;
    }

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("cityName", getCityName())
                .append("areaName", getAreaName())
                .append("streetName", getStreetName())
                .append("communityName", getCommunityName())
                .append("villageName", getVillageName())
                .toString();
    }
}
